home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / p_man / cat3 / Xm / MrmRegisterClass.z / MrmRegisterClass
Text File  |  1998-10-30  |  5KB  |  133 lines

  1.  
  2.  
  3.  
  4.      MMMMrrrrmmmmRRRReeeeggggiiiisssstttteeeerrrrCCCCllllaaaassssssss((((3333XXXX))))      UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV      MMMMrrrrmmmmRRRReeeeggggiiiisssstttteeeerrrrCCCCllllaaaassssssss((((3333XXXX))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           MMMMrrrrmmmmRRRReeeeggggiiiisssstttteeeerrrrCCCCllllaaaassssssss - Saves the information needed for MRM to
  10.           access the widget creation function for user-defined widgets
  11.  
  12.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.           #include <Mrm/MrmPublic.h>
  14.           CCCCaaaarrrrddddiiiinnnnaaaallll MMMMrrrrmmmmRRRReeeeggggiiiisssstttteeeerrrrCCCCllllaaaassssssss(
  15.           MMMMrrrrmmmmTTTTyyyyppppeeee ccccllllaaaassssssss____ccccooooddddeeee,
  16.           SSSSttttrrrriiiinnnngggg ccccllllaaaassssssss____nnnnaaaammmmeeee,
  17.           SSSSttttrrrriiiinnnngggg ccccrrrreeeeaaaatttteeee____nnnnaaaammmmeeee,
  18.           WWWWiiiiddddggggeeeetttt ((((****ccccrrrreeeeaaaatttteeee____pppprrrroooocccc) (),
  19.           WWWWiiiiddddggggeeeettttCCCCllllaaaassssssss ccccllllaaaassssssss____rrrreeeeccccoooorrrrdddd);
  20.  
  21.      VVVVEEEERRRRSSSSIIIIOOOONNNN
  22.           This page documents Motif 2.1.
  23.  
  24.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  25.           The MMMMrrrrmmmmRRRReeeeggggiiiisssstttteeeerrrrCCCCllllaaaassssssssfunction allows MRM to access user-
  26.           defined widget classes.  This function registers the
  27.           necessary information for MRM to create widgets of this
  28.           class.  You must call MMMMrrrrmmmmRRRReeeeggggiiiisssstttteeeerrrrCCCCllllaaaassssssssprior to fetching any
  29.           user-defined class widget.
  30.  
  31.           MMMMrrrrmmmmRRRReeeeggggiiiisssstttteeeerrrrCCCCllllaaaasssssssssaves the information needed to access the
  32.           widget creation function and to do type conversion of
  33.           argument lists by using the information in MRM databases.
  34.  
  35.           _c_l_a_s_s__c_o_d_e
  36.                     This argument is ignored; it is present for
  37.                     compatibility with previous releases.
  38.  
  39.           ccccllllaaaassssssss____nnnnaaaammmmeeee
  40.                     This argument is ignored; it is present for
  41.                     compatibility with previous releases.
  42.  
  43.           _c_r_e_a_t_e__n_a_m_e
  44.                     Specifies the case-sensitive name of the low-level
  45.                     widget creation function for the class.  An
  46.                     example from the Motif Toolkit is XXXXmmmmCCCCrrrreeeeaaaatttteeeeLLLLaaaabbbbeeeellll.
  47.                     Arguments are _p_a_r_e_n_t__w_i_d_g_e_t, _n_a_m_e,
  48.                     _o_v_e_r_r_i_d_e__a_r_g_l_i_s_t, and _o_v_e_r_r_i_d_e__a_r_g_c_o_u_n_t.
  49.  
  50.                     For user-defined widgets, _c_r_e_a_t_e__n_a_m_eis the
  51.                     creation procedure in the UIL that defines this
  52.                     widget.
  53.  
  54.           ccccrrrreeeeaaaatttteeee____pppprrrroooocccc
  55.                     Specifies the address of the creation function
  56.                     that you named in _c_r_e_a_t_e__n_a_m_e.
  57.  
  58.           _c_l_a_s_s__r_e_c_o_r_d
  59.                     Specifies a pointer to the class record.
  60.  
  61.  
  62.  
  63.      Page 1                                         (printed 10/24/98)
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      MMMMrrrrmmmmRRRReeeeggggiiiisssstttteeeerrrrCCCCllllaaaassssssss((((3333XXXX))))      UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV      MMMMrrrrmmmmRRRReeeeggggiiiisssstttteeeerrrrCCCCllllaaaassssssss((((3333XXXX))))
  71.  
  72.  
  73.  
  74.      RRRREEEETTTTUUUURRRRNNNN
  75.           This function returns one of the following status return
  76.           constants:
  77.  
  78.           MMMMrrrrmmmmSSSSUUUUCCCCCCCCEEEESSSSSSSS
  79.                     The function executed successfully.
  80.  
  81.           MMMMrrrrmmmmFFFFAAAAIIIILLLLUUUURRRREEEE
  82.                     The function failed.
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.      Page 2                                         (printed 10/24/98)
  130.  
  131.  
  132.  
  133.